import {requestInfo} from '@/api/public.js';

export class codeRuleService{
    //单参数编号生成测试
    static generateCodeByCodeRuleId(codeRuleId) {
        const codeParams = {};
        const query = {
            codeRuleId,
        }
        return requestInfo({
            url: '/erp/coderule/CodeRule/generateCode',
            params: query,
            data: codeParams,
            header:{ 'content-type':"application/json"}
        });
    }
}
